<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<!--优先使用 IE 最新版本和 Chrome-->
<meta name="renderer" content="webkit">
<meta name="author" content="2016.4.17">
<title>xxx-首页</title>
<link rel="stylesheet" type="text/css" href="${URL}sindex/css/globle.css">
<!--滚动条样式-->
<link rel="stylesheet" type="text/css" href="${URL}sindex/css/nanoscroller.css">
<script src="${URL}sindex/js/jquery-1.8.3.min.js"></script>
<script src="${URL}sindex/js/jquery.nanoscroller.min.js"></script>
<script src="${URL}sindex/js/index.js"></script>
<script src="${URL}frame/js/dialog.js"></script>
</head>
<body>
<!--header S-->
<#assign tid = (USER.fanShop.fanShoptype.id)!0/>
<div class="header">
	<h1 class="fl">
	<#if URL?index_of("meeting") == -1>
	 <img src="${URL}sindex/images/logo.png" alt="系统" width="313" height="40"/>
	
	<span><#if tid?exists && tid?int==17>景区版 v2.1.0<#else>企业版 v2.1.0</#if></span></h1>
    <#else>
	 <img src="frame/logo.png" alt="系统" width="313" height="40"/></h1>
	</#if>
    <div class="fr">
    	<a class="hd_photo"><img src="${URL}sindex/images/upload/photo.jpg"/><span>管理员-${USER.name!}</span></a>
       <!--  <a class="hd_one hdo1"><span>余额：8.88元</span></a>
        <a class="hd_one hdo2"><span>充值</span></a>
        <a class="hd_one hdo3"><span>提现</span></a> -->
        <a class="hd_one hdo4" id="logout"><span>退出</span></a>
    </div>
</div>
<!--header E-->
<!--content S-->
<div class="content clearfix">
	<!--menu S-->
    <div class="menu nano fl">
    	<ul class="menu_fir nano-content">
    	  <#list menus as menu>
        	<#if menu.count == 0>
                <li>
                    <a class="menu_one" onClick="linkFrame('operate?pid=${(menu.menu.id)!}')" url="operate?pid=${(menu.menu.id)!}"><img src="${(menu.menu.img)!}" data-img="${(menu.menu.img2)!}" /><span >${(menu.menu.name)!}</span></a>
                </li>
        	<#else>
                 <li>
                    <a class="menu_one"><img src="${(menu.menu.img)!}" data-img="${(menu.menu.img2)!}" /><span class="has_chil">${(menu.menu.name)!}</span></a>
                    <ul class="menu_child">
                        <#list menu.childs as c>
                            <li><a class="sec_one" onClick="linkFrame('operate?pid=${c.MENU!}')"  url="operate?pid=${c.MENU!}">${c.name!}</a></li>
                        </#list>
                    </ul>
                </li>
        	</#if>
            </#list>
        </ul>
    </div>
    <!--menu E-->
    
    <!--iframe S-->
    <div class="main_iframe fl">
    	<iframe id="main_iframe" name="main_iframe" frameborder="0" allowtransparency="true" scrolling="true" width="100%" height="100%" src="${URL2!}"></iframe>
    </div>
    <!--iframe E-->
</div>
<!--content E-->
<script type="text/javascript">
$(function(){
 $("#logout").click(function(){
       Wconfirm("确定退出登录？",{
            type: "confirm",
            no: function(){

            },
            yes: function(){
                window.location.href="${URL}logout";
             }
            });
     });
     $(".firOne").first().click();
});
function search(msg){
  alert(msg);
}
</script>
</body>
</html>